package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 系统用户表Entity
 *
 * @author generator
 * @date 2020-03-12 17:08
 */
@MyTable(value = "SystemUserEntity", name = "system_user", comment = "系统用户表")
public class SystemUserEntity extends BaseEntity {
    /**
     * 登录账号
     */
    @MyColumn(value = "loginUsername", name = "login_username", comment = "登录账号")
    private String loginUsername;

    /**
     * 登录密码
     */
    @MyColumn(value = "loginPassword", name = "login_password", comment = "登录密码")
    private String loginPassword;

    /**
     * 登录密钥
     */
    @MyColumn(value = "loginSecretKey", name = "login_secret_key", comment = "登录密钥")
    private String loginSecretKey;

    /**
     * 员工编号
     */
    @MyColumn(value = "jobNo", name = "job_no", comment = "员工编号", required = true)
    private String jobNo;

    /**
     * 姓名
     */
    @MyColumn(value = "fullName", name = "full_name", comment = "姓名", required = true)
    private String fullName;

    /**
     * 性别编码
     */
    @MyColumn(value = "userGenderCode", name = "user_gender_code", comment = "性别编码")
    private Integer userGenderCode;

    /**
     * 联系电话
     */
    @MyColumn(value = "mobilePhone", name = "mobile_phone", comment = "联系电话")
    private String mobilePhone;

    /**
     * 其他电话
     */
    @MyColumn(value = "otherPhone", name = "other_phone", comment = "其他电话")
    private String otherPhone;

    /**
     * 联系地址
     */
    @MyColumn(value = "address", name = "address", comment = "联系地址")
    private String address;

    /**
     * 所属公司外键
     */
    @MyColumn(value = "companyId", name = "company_id", comment = "所属公司外键")
    private Integer companyId;

    /**
     * 所属部门外键
     */
    @MyColumn(value = "departmentId", name = "department_id", comment = "所属部门外键")
    private Integer departmentId;

    /**
     * 禁用状态
     */
    @MyColumn(value = "disableState", name = "disable_state", comment = "禁用状态", required = true)
    private Integer disableState;

    /**
     * 是否可以登录
     */
    @MyColumn(value = "asLogin", name = "as_login", comment = "是否可以登录", required = true)
    private Integer asLogin;

    /**
     * IC卡卡号
     */
    @MyColumn(value = "icCardCode", name = "ic_card_code", comment = "IC卡卡号")
    private String icCardCode;

    /**
     * 排序
     */
    @MyColumn(value = "sort", name = "sort", comment = "排序", required = true)
    private Integer sort;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;


    public String getLoginUsername() {
        return loginUsername;
    }

    public SystemUserEntity setLoginUsername(String loginUsername) {
        this.loginUsername = loginUsername;
        return this;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public SystemUserEntity setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
        return this;
    }

    public String getLoginSecretKey() {
        return loginSecretKey;
    }

    public SystemUserEntity setLoginSecretKey(String loginSecretKey) {
        this.loginSecretKey = loginSecretKey;
        return this;
    }

    public String getJobNo() {
        return jobNo;
    }

    public SystemUserEntity setJobNo(String jobNo) {
        this.jobNo = jobNo;
        return this;
    }

    public String getFullName() {
        return fullName;
    }

    public SystemUserEntity setFullName(String fullName) {
        this.fullName = fullName;
        return this;
    }

    public Integer getUserGenderCode() {
        return userGenderCode;
    }

    public SystemUserEntity setUserGenderCode(Integer userGenderCode) {
        this.userGenderCode = userGenderCode;
        return this;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public SystemUserEntity setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
        return this;
    }

    public String getOtherPhone() {
        return otherPhone;
    }

    public SystemUserEntity setOtherPhone(String otherPhone) {
        this.otherPhone = otherPhone;
        return this;
    }

    public String getAddress() {
        return address;
    }

    public SystemUserEntity setAddress(String address) {
        this.address = address;
        return this;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public SystemUserEntity setCompanyId(Integer companyId) {
        this.companyId = companyId;
        return this;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public SystemUserEntity setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public SystemUserEntity setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getAsLogin() {
        return asLogin;
    }

    public SystemUserEntity setAsLogin(Integer asLogin) {
        this.asLogin = asLogin;
        return this;
    }

    public String getIcCardCode() {
        return icCardCode;
    }

    public SystemUserEntity setIcCardCode(String icCardCode) {
        this.icCardCode = icCardCode;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public SystemUserEntity setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public SystemUserEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}